<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>购买商品</title>
</head>
<body>
<h1>购买商品</h1>
<form action="user/buy" method="post">
  购买人:<input type="text" name="username"><br>
  购买量:<input type="text" name="nums"><br>
  <input type="submit" value="购买">
</form>

<hr><h1>演示 params 的使用</h1>
<a href="user/find?bookId=100">查询书籍</a>

<hr><h1>演示 Ant 风格的请求资源方式 </h1>
<a href="user/message/xyy">发送消息 1</a><br>
<a href="user/message/x/xyl">发送消息 2</a><br>

<hr><h1>占位符的演示</h1>
<a href="user/reg/kristina/300">占位符的演示</a>
</body>


<hr><h1>电脑信息</h1>
<form action="computer/getInfo" method="post">
  品牌:<input type="text" name="brand"><br>
  价格:<input type="text" name="price"><br>
  数量:<input type="text" name="num"><br>
  <input type="submit" value="提交">
</form>
</html>